package org.batatasframework.support.charts.baidu;

import java.util.ArrayList;
import java.util.List;

public class ChartSerieGauge extends ChartSerie{
	
	private String radius = "75%";
	private List<String> center ;
	private ChartDetail detail;
	private Number startAngle = 225;
	private Number endAngle  = -45;
	private Number min  = 0;
	private Number max  = 100;
	private Number splitNumber  = 10;
	private GaugeAxisLine axisLine = new GaugeAxisLine();
	private ChartGagueAxisTick axisTick = new ChartGagueAxisTick();
	private ChartGaugeSplitLine splitLine = new ChartGaugeSplitLine();
	public ChartSerieGauge() {
		super("gauge");
	}
	
	
	public ChartGaugeSplitLine getSplitLine() {
		return splitLine;
	}


	public void setSplitLine(ChartGaugeSplitLine splitLine) {
		this.splitLine = splitLine;
	}


	public ChartGagueAxisTick getAxisTick() {
		return axisTick;
	}


	public void setAxisTick(ChartGagueAxisTick axisTick) {
		this.axisTick = axisTick;
	}


	public ChartDetail getDetail() {
		return detail;
	}
	public void setDetail(ChartDetail detail) {
		this.detail = detail;
	}
	public String getRadius() {
		return radius;
	}
	public void setRadius(String radius) {
		this.radius = radius;
	}
	public List<String> getCenter() {
		return center;
	}
	public void setCenter(String...center) {
		if(null == this.center) this.center = new ArrayList<>();
		for(String str : center){
			this.center.add(str);// = center;
		}
	}
	public Number getStartAngle() {
		return startAngle;
	}
	public void setStartAngle(Number startAngle) {
		this.startAngle = startAngle;
	}
	public Number getEndAngle() {
		return endAngle;
	}
	public void setEndAngle(Number endAngle) {
		this.endAngle = endAngle;
	}
	public Number getMin() {
		return min;
	}
	public void setMin(Number min) {
		this.min = min;
	}
	public Number getMax() {
		return max;
	}
	public void setMax(Number max) {
		this.max = max;
	}
	public Number getSplitNumber() {
		return splitNumber;
	}
	public void setSplitNumber(Number splitNumber) {
		this.splitNumber = splitNumber;
	}
	public GaugeAxisLine getAxisLine() {
		return axisLine;
	}
	public void setAxisLine(GaugeAxisLine axisLine) {
		this.axisLine = axisLine;
	}
	
	
	

	
}
